package com.dw.etl.core.api;

import com.dw.etl.common.vo.PaginationVO;
import java.util.List;
import com.dw.etl.core.bean.model.EtlBase;

/**
 * etlBase服务类
 * Created by hozeData on 2021/05/21.
 */
public interface EtlBaseService {

    List<EtlBase> findByModel(EtlBase etlBase);

    PaginationVO<EtlBase> findPageByModel(EtlBase etlBase, Integer pageNum, Integer pageSize);

    PaginationVO<EtlBase> findPageByModelLike(EtlBase etlBase, Integer pageNum, Integer pageSize);

    EtlBase getById(String idBase);

    int insert(EtlBase etlBase);

    int insertSelective(EtlBase etlBase);

    int updateByIdSelective(EtlBase etlBase);

    int updateById(EtlBase etlBase);

    int deleteById(String idBase);

    List<EtlBase> findAllByModel(EtlBase etlBase);

}
